<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
	<h:form>
		<p:dataTable id="dataTable" var="loanApplication" value="#{workbenchBean.getLoanApplications()}"  sortMode="multiple" rows="25" paginator="true" rowKey="#{loanApplication.id}" selection="#{workbenchBean.selected}" selectionMode="single">
			<p:column sortBy="id" headerText="Ügylet azonosító">
				<h:outputText value="#{loanApplication.id}" />
			</p:column>
			<p:column sortBy="status" headerText="Státusz">
				<h:outputText value="#{loanApplication.status}" />
			</p:column>
			<p:column>
				<p:commandButton value="Feladat megnyitása" actionListener="#{customerMaintBean.loadLoanApplication(loanApplication.id)}" action="#{navigationBean.viewLoanApplication()}" update=":display"  />
			</p:column>
		</p:dataTable>
	</h:form>
</ui:composition>

